﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/MasterPage.master"  CodeFile="Default.aspx.cs" Inherits="_Default" %>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
			<div class="pro-content">
				<div class="product">
                <asp:Repeater ID="repLoaiSanPham" runat="server" OnItemDataBound="repLoaiSanPham_OnItemDataBound">
                    <ItemTemplate>
					<div class="pro-item">
						<div class="head-item"><a href='<%#LinkHelper.LinkLoaiSanPhamCha(Eval("LoaiSanPhamID"))%>'><%#Eval("TenLoaiSanPham")%></a></div>
						<div class="item">
							<ul>
                                <asp:Repeater ID="repLoaiSanPhamCon" runat="server">
                                <ItemTemplate>
								    <li><a href='<%#LinkHelper.LinkLoaiSanPhamCon(Eval("LoaiSanPhamID"))%>'><%#Eval("TenLoaiSanPham")%></a></li>
                                </ItemTemplate>
                                </asp:Repeater>
							</ul>
							<div class="more"><a href='<%#LinkHelper.LinkLoaiSanPhamCha(Eval("LoaiSanPhamID"))%>'>>Chi tiết</a></div>
						</div>
						<div class="img-item">
							<a href='<%#LinkHelper.LinkLoaiSanPhamCha(Eval("LoaiSanPhamID"))%>'><img src="<%#LinkHelper.GetLinkHinhAnh(Eval("HinhAnh"))%>" /></a>
						</div>
					</div>
                    </ItemTemplate>
                </asp:Repeater>
					
				</div>
				<!--right-->
				 <div class="box">
					<div class="title-box">
					  <h2>Hổ trợ trực tuyến</h2>
					</div>
					<ul>
					  <div class="help-cus">
						<asp:DataList ID="dllOnline" runat="server" Width="226px">
                    <ItemTemplate>
                        
                        <table style="width: 100%">
                            <tr>
                                <td style="width: 100px" align="center">
                                <a href="ymsgr:sendim?<%# Eval("NickName") %>"><img src="http://opi.yahoo.com/online?u=<%# Eval("NickName") %>&m=g&t=2" alt="" style="border:0px; width:80px;" /></a>
                                </td>
                                <td style="width: 100px" align="center">
                                <asp:Label ID="Label1" runat="server" Text='<%# Eval("SDT") %>' Style="width:100px;" ForeColor="#000000"></asp:Label>
                                </td>
                            </tr>
                        </table>
                    </ItemTemplate>
                </asp:DataList> 
                        </div>
					</ul>
				  </div>
				   <div class="box-dt">
					<div class="title-box">
					  <h2>Đối tác</h2>
					</div>

                <ul style="margin:30px 0 0 0;padding:0;list-style-type:none">
				<asp:Repeater ID="repDoiTac" runat="server">
                        <ItemTemplate>
                        <li style="text-align:center">
                            <a target="_blank" href="<%#Eval("Link") %>"><img src="<%#LinkHelper.GetLinkHinhAnh(Eval("HinhAnh"))%>" width="170" title="<%#Eval("TenDoiTac") %>" /></a>
                        </li>
                        
                        </ItemTemplate>
                    </asp:Repeater>
                    </ul>
				  </div>
			</div>
			<div class="new-pro">
				<div class="head-newpro"><h2>Sản Phẩm mới</h2></div>
                <asp:Repeater ID="repSanPhamMoi" runat="server">
                    <ItemTemplate>
				        <p><a href='<%#LinkHelper.LinkSanPham(Eval("SanPhamID"))%>'><img src="<%#LinkHelper.GetLinkHinhAnh(Eval("HinhAnh"))%>" /></a></p>
                    </ItemTemplate>
                </asp:Repeater>
			</div>
</asp:Content>
		
		